package com.fuja.swf.io;

import waba.sys.Settings;

public class IOUtil {
	private IOUtil() {
	}
	public static String getRoot() {
		String rootPath;
		if (Settings.platform.equals("Java"))
			rootPath = "c:/temp/";
		else if (Settings.platform.equals("Linux"))
			rootPath = "/tmp/";
		else if (Settings.platform.equals("Symbian"))
			rootPath = "\\Data\\";
		else
			rootPath = "/";
		return rootPath;
	}
}
